package com.itheima.da_te_bs;

import com.itheima.bean.Course;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface courseMapper {
    @Select("SELECT c.id , c.name FROM stu_cou sc, course c WHERE sc.cid=c.id AND sc.sid=#{id}")
    public abstract List<Course>selectBysid(Integer id);
}
